Unbreak heroku input (LOGSTASH-1347)

`@code.decode` does not return an enumerator.