Close open file handle before moving file when recording.
In record_wpr, we did the following:
temp_target_wpr_file_path = tempfile.mkstemp()[1]
In python, tempfile.mkstemp() will return a tuple containing the file handle and the file path. Since the script never closes this file handle, it looks like we throw a WindowsError when we try to move the file with the open file handle.
BUG=
Review URL: https://codereview.chromium.org/
420893002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@285708 0039d316-1c4b-4281-b951-d872f2087c98