Improved how the _savepath method of FileType selects a file extension