Fix 'WindowsError: [Error 32]' by closing the downloaded file before renaming it
Merge pull request #72 from mnoorenberghe/error_32

'WindowsError: [Error 32]' from renaming the downloaded file while it's still open.