Replaced QTemporaryFile with tmpnam in PreProcessor.