added support for creating writable dirs

Change-Id: I9f4c150a85f8e219208951af5b4cabe8af8b1902
deployment support for Zend Studio

Change-Id: I61ca483c99f4c12a5a3109e04236abbc4558e344