scripts: bundle-libraries: compat with "file" before version 5.22