Fix for xargs on Mac missing --arg-file option

Hi, I've made a minor change to this script making it compatible with Mac OS, where `xargs` is missing the `--arg-file` option, and has to be fed from `stdin`.