Check if .env exists before running dotenv on it.

On machines where the environment variables have been defined manually, rather than in a .env file, running Dotenv::load or required seems to break the variables.  This runs a check for a .env file before trying to load the variables from there.