made logfile name & encoding configurable
Merge pull request #16 from matthewadams/master

Made log file & encoding configurable