Save log screenshots with correct file extension

If no encoder is specified, PNG is used.
Merge pull request #3 from campbeb/master

Save log screenshots with correct file extension