Ensure streams are closed in uploadURIFile. This may be the cause of some errors we are seeing in Webfolders.