Creates pages/ directory if it does not exist.