OK, So I found the solution for this problem.
Last time when I run the command above I added the "screen" instruction before it. In this case, screen will just cat the xml file without tuning it to the WikiExtractor.py. The result is therefore an empty file.
I fixed this by putting the above command in a file, making the file runnable and run the screen command on it.