simplify file open logic in RotatingFileAppender's New()