add rabin_write, example callback, and test_write
Merge branch 'master'