restored support for non-seekable streams

getFileSize is restored to allow for non-seekable encrypted streams.
Also an irritating typo's fixed.