`file *` again is unsafe. It depends on kernel buffer size and files count. It might break if we have too many files.
Your original patch was throwing `objcopy` usage documentation. I think, splitting the command helped in addition to removing unneeded `%`. As you said it works now, thus no modification needed.