use with open for internal handling of open errors
better description for resetting file object offset to 0
use python utf string handling for clearer naming of fname
Merge pull request #3 from Megazig/master

Merge to master of Megazig/p3ds