Linux - make find_file more resillient to corrupted samples