Fix logging regular expression objects

Fix for issue https://github.com/flatiron/winston/issues/500