The Mac version of find doesn't support -printf, so this changes things to use sed to strip off the leading path element instead.