FIXES #1 Passes Encoding to writeFileSync as string instead of options object