regression: re-wrap read in try
Merge pull request #459 from modilabs/upload-fix

regression: re-wrap read in try