test of io re-position
test of file io with/without binmode