Error try to use session data in directory based middleware

Turns out someone else had the same problem you did - there was a bug in how directory based middleware for post processing were being loaded:

You could clone and build master, then drop a new binary into your install to get it to work…

Will obviously be fixed in the next version :-/