Write the ErrorLog into the exe's directory.