Fix to issue #1373

As _load and _dump methods were removed from the class Time in Ruby 2.0, we should use the methods "load" and "dump" from Marshal Class for marshalling objects.
This fixes #1373.