MAINT: add a configure check for ftello and fseeko

Might requires on some platforms, but its also defined by Python.h so it
should mostly work.
TST: document reason for truncate instead of seek past end