add mocha-phantomjs hook to write coverage stats to a file