fixed uploader handling of partial files with sanitized filenames

Upload was misbehaving for chunked files that had filenames with invalid characters that needed to be sanitized.