Database mod times should be UTC

If they're going to be used for comparison (like sync), it should be
consistent regardless of timezone.
Use timestamps instead of ticking for sync

This should make sync work a little bit better when dealing with
suspending machines or any other reason ticks might spread out.