Log file should be in append mode by default
Merge pull request #4 from aviks/patch-1

Log file should be in append mode by default