Handle webroot directory creation better.