Use chunk size from test data
Fix error handling for upload.
Fix file name handling in upload.
Merge pull request #92 from gladhorn/upload

Upload