Log to stderr on Linux systems.

This fixes #114 and removes the write to the current directory that
places files where users may not expect.

I assume that Linux users are familiar enough with the command line to
run a program and output errors to a file via 2>file or similar.
Merge pull request #145 from Hello71/stderr

Log to stderr on Linux systems.