Fix typo that made change detection break

We were comparing the old and old mtimes rather than the old and
the new. This meant we missed some file changes where only the mtime
changed.
Merge pull request #2330 from alexlarsson/dm-fix-change-detection

Fix typo that made change detection break