add storeFileFromOffset function

add python2 and python3 storeFileFromOffset fuction, it is similar to
retrieveFileFromOffset fuction.
Merge pull request #6 from Element-s/master

add storeFileFromOffset function