Copy record's dict so we don't affect other formatters

Create a copy of the LogRecord's dictionary before modifying it, otherwise other LogFormatters will not see the msg attribute.