Use a transaction in TestByteaOutputFormats

This avoids relying on getting the same connection for consecutive
queries from database/sql.