static() middleware should just yield to next instead of throwing exceptions when paths are invalid (e.g. / caused an exception)