Fix generation of defect .htaccess within the page tree.