Minor Change: #377803 - check invalid characters in file names