[Bug 751358] logrotate gets EBADF when doing copytruncate