generators: Teach StaticGenerator to handle directory copies

I moved the logging statement before the attempted execution so that
when Pelican dies with an exception during a copy [1], the user will
be able to easily see what Pelican was up to when it died.

[1] e.g. from a KeyboardInterrupt, even if the code is flawless.