Fix `func_extract_factoryfs_files`