Avoid too long filenames