BIX will extract the property value as is. By default pyAttachmentStream will have the Base64 encoded value of the file attachment. You can extract the same Base64 value into a column in the target database or as a XML element or a CSV column. BIX will not convert it to the actual attachment file and put it in the extract folder. If this is your requirement, please raise an enhancement request with Pega.