Fix #43

Reset the position of file-like object
Hm, good call. @Lukasa any objections?