Rename out -> ref.txt.