Improve example for read() and write().
Bump cordova to 2.5.