Fix #87: RMF read and write using incorrect string length logic
Merge remote-tracking branch 'origin/master'