importpkg: ignore filenames with encoding errors