adding check on corrupted files in travis