dispose of File Stream after upload
Merge pull request #795 from dchurchland/master

dispose of File Stream after upload