uwsgi: replace extra line from end of file.