title: Missing newline for adding with bulk API
body: <p>I want to add the following file to Elasticsearch using the bulk API:</p>
  
  <pre><code>{"_id":{"date":"01-2007","profile":"Da","dgo":"DGO_E_AIEG","consumerType":"residential"},"value":{"min":120.42509,"minKwh":0.20071,"nbItems":6.0}}
  </code></pre>
  
  <p>using the command</p>
  
  <pre><code>curl -XPOST -H 'Content-Type: application/json' localhost:9200/_bulk --data-binary Downloads/bob/test.json
  </code></pre>
  
  <p>but I got the following mistake:</p>
  
  <pre><code>{"error":{"root_cause":[{"type":"illegal_argument_exception","reason":"The bulk request must be terminated by a newline [\n]"}],"type":"illegal_argument_exception","reason":"The bulk request must be terminated by a newline [\n]"},"status":400}
  </code></pre>
  
  <p><strong>NB: The file clearly has a empty line at the end</strong></p>