Merged mkdir and chmod into one php function call