Remove invalid characters from output file path.