Set the current directory so the static file middleware works.