fix($traditional-java) #23 - large file uploads may fail