fix rtyaml for files that decrease in size
fix rtyaml for files that decrease in size

bug caused by 31f5c2e685fe9414404b55d8a06008d9b4ba370b by opening a file with r+ without truncating its contents

iamLucia/congress-legislators,Daniel1005/congress-legislators,mrumsky/congress-legislators,unitedstates/congress-legislators,alizizohaker/congress-legislators,Nolawee/congress-legislators,Daniel1005/congress-legislators,hugovk/congress-legislators,hackerrdave/congress-legislators,mrumsky/congress-legislators,unitedstates/congress-legislators,YOTOV-LIMITED/congress-legislators,Ukazziha/congress-legislators,hackerrdave/congress-legislators,hugovk/congress-legislators,gautamsrin/congress-legislators,Nolawee/congress-legislators,alizizohaker/congress-legislators,YOTOV-LIMITED/congress-legislators,Ukazziha/congress-legislators,iamLucia/congress-legislators,gautamsrin/congress-legislators