Replace use of erlang:now/0 with os:timestamp/0