Added creation of theme directory if it does not exist when copying to CDN.