Cast mtimes to int
Reuse cache data of existing files during scan