logstash plugins: fix directories creation

One directory level was not being created.