Optimized file upload for Win