Fixed C# client to handle single or multiple file uploads.