add __dirname to the file path passes create file test on dev - lets see what travis says!
undo change (domain did not solve the probrem...)