Is `EBUSY` really the best thing here?  The Linux `rmdir(3)` docs make it sound appropriate but I'm not sure I've ever seen `EBUSY` in the wild (barring NFS, maybe, and I've tried to forget all about that.)