fixed write, added truncate support and GetTransaction method
fixed write, added truncate support and GetTransaction method

whoozle/android-file-transfer-linux,whoozle/android-file-transfer-linux,whoozle/android-file-transfer-linux,whoozle/android-file-transfer-linux