Support for copying subfolders in templates directory and fix missing status from migrated pages.