Catch error when file is missing for import

Thanks, siddiki @ HackerOne!