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