Fixes filenames for urls