changed to fs.writeFileSync
Merge branch 'master' of https://github.com/djfdev/ezdocs