I like your tool and am working on seeing what it would take to port it to BSD (I primarily use Mac OS X).
I'll include a minor fix in here for that: <unistd.h> needs to be included in helpers.h to get 'off_t' to resolve.
But the current hurdle I'm working on is the difference with Linux vs. BSD implementation of realpath.
BSD implementation doesn't accept NULL for the second argument and this will trigger a Bus Error / Segmentation Fault as a result.
When I come up with a patch fix I'll post it, but thought I'd mention it - should you want to try to make this wonderful tool more portable.