Fix filename when flashing.