Older node takes a string argument instead of a options object for writeFileSync.