Unnecessary buffers Patch

Removed buffers in partial upload of files because they are unnecessary and can sometimes cause outOfMemory exceptions.