change fs.writeFile test to create file in CWD - please *work* travis!