Add duplicity output line by line instead of with a whole at one time. Should help...