Remove turfs_file_length side effect

rewind() moves the file cursor back to the
beginning of the file, regardless of where
the cursor was at prior to the user calling
turfs_file_length(). Now we cache the original
position and restore it after getting the
file length.

Signed-off-by: Eddie Ringle <eddie@eringle.net>