Make FileDataStream check the underlying pointer

If someone has moved the pointer then raise an error.