When using gorilla.compile-file, use an equivalent of mkdir -p to make sure the directories exist.
Allow custom linefeed character rather than assuming "\n". Fixes #75