factor.rb: updated to 0.98, with binary stanza

Closes #7766.