Quantlib Python Out File Vs Set Content