Fix file stream close bug on File Upload