Sort out dodgy file names.