Turn off error reporting during an export

We need to turn off error reporting while we're building an export so that PHP notices and other errors don't break an export.