Also check file size when determining if file is unchanged (fixes #1058)

Makes scanning a little bit more expensive (sigh) but seems like a sane thing to do.