fixup

* sizeof(off_t) is > sizeof(size_t) on arm, so there is an additional
  check necessary
* st_mtime is int64_t (aka. time_t)