PIMCORE-1062 - chmod file permissions make dirs unreadable for suphp / c...

...li php

Reverted mkdir to PHP's default behavior. Note that the permission bits in mkdir are masked with the current umask, so the directory created does not become 777. In a typical CentOS/Debian LAMP stack it will become rwxrxrx.