Don't pass second argument to Kernel.open at all for Ruby < 1.9.