using fs.mkdirSync instead of grunt.file.write in mkdirThenAddFile. grunt.file.write seems to mask gaze's inability to recognize newly added files in newly created folders. also simplified mkdirThenAddFile by removing assertion for tmp.js