Clear filesystem cache before checking file stats.