Call to _make_path from indices.put_mapping was passing parameters in the wrong order

...hence trying to put a mapping to index/_mapping/doc_type, instead of index/doc_type/_mapping.