Generate the configuration file with a template instead of a bash script
Use the encoding option of fs.readFileSync to avoid creating a Buffer

* requires node >= 0.10
* specify the radix when using paerseInt()
Support only \n as newline control character
Merge pull request #9 from MiLk/features/template

Generate the configuration file with a template instead of a bash script