temp_directory can now be modified in conf file

This was brought over from https://github.com/elasticsearch/logstash/pull/1344