Remove common invalid characters from file name