FIx broken travis test by mocking fs.mkdir