Workaround for remote code execution security issue.

Reference: http://bouk.co/blog/elasticsearch-rce/