Fix bug in copy static file logic

We weren't checking to make sure all directories exists before copying
a file.  This would cause an exception if we moved a directory into
static.

Fixed by using os.makedirs