Update rbfm.cc

Fix bug in readRecord()