Calculating TF-IDF with Hadoop Streaming using bash scripts