Fix #43

Reset the position of file-like object
Seems reasonable to me.