osl.c for_each_file_in_dir(): Move struct stat to inner loop.