fix createrawtransaction, using extended serialization format