modified LoggingHistoryFileAppender.java that now using File.rename instead copy files.