Fixing an issue with using / in file names.