Raise a warning instead of crashing when getting a broken path in file import (#138)