Fixed errors in wikiparser scripts and tested on Hadoop.

Change-Id: Ie22d06f74097a547f9f6f4d5a2ff8f6acf6ffd1a