Add some fake directory handling so that serving index.html works as expected.