Don't pass "r" to io.open in tally.lua (it's already the default)