Fix issue with grunt-s3 sync

See
https://github.com/pifantastic/grunt-s3/issues/105#issuecomment-30304162