Fix bugs and add unit test for TFile/HFile FileAccess impl

Seek to the first row because otherwise if you call next() right after the reader is initialized, it will throw a NPE as the cursor is before the first row