How do I write a binary dump file of an array in my testbench

In reply to BrianHG:
What about %c?