Change to remove tempfile immediately

Tempfile remains local disk until fluentd process goes down or GC runs.
This may increase tempfile data size at local disk,  so change to remove
immediately after uploading to S3.