Open in WriteOnly mode, fixes the fact that when writing to an existing file, the contents beyond what we wrote were still there
diff --git a/qt4/src/poppler-base-converter.cc b/qt4/src/poppler-base-converter.cc
index 012ba9e..b5f2035 100644
--- a/qt4/src/poppler-base-converter.cc
+++ b/qt4/src/poppler-base-converter.cc
@@ -46,7 +46,7 @@
 	Q_ASSERT(iodev);
 	if (!iodev->isOpen())
 	{
-		if (!iodev->open(QIODevice::ReadWrite))
+		if (!iodev->open(QIODevice::WriteOnly))
 		{
 			if (ownIodev)
 			{