Use filename_new instead of tempfilename in tests
Enable error handling for seek()
Handle non-seekable files