Fix error with too short file names