Teach StaticGenerator to handle directory copies

Ideally this would be attached to #633, but I can't use `hub` to
attach to someone else's issue (defunkt/hub#269).