Rewrite Gruntfile to write only in .tmp and use md5 hashes instead of timestamps