Fix autosave files created in parent directory
Solve the issue where the autosave files are created in the
parent directory instead of in the directory where the
original .kra file is saved
Thanks Merdrod for providing the patch!
Differential Revision: https://phabricator.kde.org/D1035