Fix TimeSlicedOutput does not flush with SIGUSR1

Fix https://github.com/fluent/fluentd/issues/532