Write to production.log synchronously.

This prevents ruby from buffering writes to the logfile meaning that the
OS will see them immediately.  This in turn means that they can be
picked up by logshipper quickly.