> It's not garbage, it's a Unicode BOM.
>
> If your other software cannot read Unicode files properly, you can
> turn off Unicode file writing under File -> Options.
psql is apparently unhappy with the BOM.
Thanks, I'll let you know if that fixes the issue; if it does, that
should go in the FAQ.
--Josh Berkus