use fsextra for making files.  Don't monkey patch emit