NSFileWrapper is really convenient, but has a lot of pain points. Here's my design for a replacement.