Fix for OS X, which does not support -printf in find

OS X does not have `-printf` for the `find` command, so instead pipe through `xargs` and `basename` before sorting with `sort`.
I was just concerned for someone removing it without reading the note, and I don't think the line comment costs us anything.