Fix save_file in loader not saving filenames properly