Fixed two anoyingly simple crashes
Fixed the reason why the wrong thing was happening to the file extensions on the path where .bin is not given in the file name