Add metadata for state backups.

This is part of my effort to split up the work for backups into a few smaller patches.
I'll probably just drop timestamp as a param.  However, thanks for the good tip.  There's so much I have yet to learn about Go. :)