fixing auto_save not working on windows (os.path.join)