Write-S3Object : The process cannot access the file
<p>I am having trouble uploading a file from an aws instance using the powershell Write-S3Object command.  I <em>do</em> have a handle open on the 'c:\work\log_instance2.txt' file since I have a running python script and this is the log file.  Is this the expected behaviour of the Write-S3Object?  How can I upload the file when the python app is still running?</p>

<pre><code>Write-S3Object : The process cannot access the file
'c:\work\log_instance2.txt' because it is being used by another process.
At line:1 char:1
+ Write-S3Object -BucketName 'catcfs' -File 'c:\\work\\log_instance2.txt' -Key
'Un ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~
    + CategoryInfo          : InvalidOperation: (Amazon.PowerShe...eS3ObjectCm
   dlet:WriteS3ObjectCmdlet) [Write-S3Object], InvalidOperationException
    + FullyQualifiedErrorId : System.IO.IOException,Amazon.PowerShell.Cmdlets.
   S3.WriteS3ObjectCmdlet
</code></pre>