Also improved path handling for LogManager.cs.