More error checking when creating virtual host directories
Merge pull request #335 from Zentyal/jag/webserver-resilent-dirs

More error checking when creating virtual host directories