Support block-less ASDF files with no final newline

Cc: @nden
The built-in Python `os.lseek` is documented as returning the resulting location in the file.  It isn't used currently, but it was helpful when debugging this issue, so I left it in.