Use xargs instead of custom ruby script

@aroben I know we briefly discussed this, but I couldn't remember what the reason was to not use `xargs`.