Fixed confusing templatedir configuration item closing #21.