Fixes path splitting in WSGI middleware
Fix issue with invalid content_size when using LocalFileStorage