Update S3Task.js

Fix for windows clients