Update printtopicdistributions.py: fixed issue on the per-document-topic.csv file (newline issue)