Fix var_dir -> var_path typo in app.js.

The typo actually crashes the app when running node v0.10.5, which makes
`path.join()` check its arguments and ensure that they're all strings.