logrotate improvement: do not rotate empty logs

Signed-off-by: Dmitry Smirnov <onlyjob@member.fsf.org>