Fixed #914: build.xml is missing reset of code templates dir to default before copying dist.htaccess