libdeng2: Catch exception if failed to open log output file

Attempting to fix a failure to start the engine when another process
is already running.

The log buffer can operate without an output file.
libdeng2: Handle error when log output file cannot be opened

The C wrapper also needs to handle the exception.