pifantastic/grunt-s3 — pull request #128 by AsaAyers (2014-05-22 18:00:52+00:00)
Title: S3 download sometimes hashes before the file finishes writing.

I don't see any way to make an automated test proving this. I just have a set of files and when I run the grunt task to download them repeatedly they will occasionally fail claiming to have the wrong hash. It seems to just be a race condition where `fs.readFile` reads the file before the final chunk has been flushed to disk.