Use single argument reopen for Ruby 1.9.