Fixed a permission problem in the generated vhost file