create writable dir if doesnt exist