Support path functions with arguments.
Support custom allocators (for nginx which uses a pool allocator) and the fstat call.
Fully support stat; support merging null pointer and int zero.