fix fs.exists to allow file and folder.
fix fs.exists to allow file and folder.

This is how the now deprecated fs.exists nodejs api was working.
It is needed to make the nodejs package service-systemd work for the command:
  sudo service-systemd --add --service my-service --cwd /path/to/service --app app.js

simone-sanfratello/a-toolbox,simone-sanfratello/a-toolbox