Modified URL::addEscapeChars to generate upper-case hex digits because apparently lower-case can cause problems.
Added a public method FileLogger::trimFileSize()