plugins/topic: write topic_logs with umask 077