Update UploadServlet.java

When i tried to upload a big file over 2.7G, the server gave me an Exception " Negative Seek Offset".
This issue is due to integer overflow.