fix for archive_read_open_filenames