Fix 8.4 COPY

This respects the bytea encoding format for 8.4 when using COPY.