Fixed to_entry for all objects

  Found weird iv_set_time bug, could just be Ruby 1.8.7 though