Remove "a" from stream.reopen when writing to log

This didn't seem to stop the log from being written to (aka, the log still works), but it did fix the error I was seeing in #32.

[Fixes #32]