cleanup serve_dir example
cleanup serve_dir example

* another compilation error masked by the CI build failure.
  (This one shows up only with --features dir, which I didn't do in
  my local IDE setup.)
* update from a deprecated API call.

scottlamb/http-entity