modify writable path for iOS and Android

It is discussed in this thread: http://www.cocos2d-x.org/boards/6/topics/22083