update client for listBlocks with open_for_writing.
Merge pull request #412 from yuyiguo/HG1410-client

update client for listBlocks with open_for_writing.