util: quick adjustment to sanitizeFilePath.