Do not set headers on directory passthrough

Cache headers were mistakenly being set in case of next callback,
index: false and passthrough: true