Windows upload 799

This will close issue #799.  The temporary files in the file_upload function during the upload ajax call were not being closed before shutil.rmtree is called at the end of the upload view function causing a file locking issue referenced in issue 799 for windows.  There is a broader issue of gdal now that I will create a formal issue for once I dig in a little more.  
Thanks