Fixed a bug in file appenders where they would attempt to write the log event even if opening of file was unsuccessful.