id:718 - added check for writable includes/ dir