Fixed DateTime.Ticks and TimeSpan.Ticks so they're consistent with .net