Added log entry if WriteFileContent operation fails