Fix issues with illegal characters in filenames, and don't ask for the alternative format on fetching failure a second time.