Only write file with missing files if there are actually some files missing.