sanitize long file names