Implement writeTxFileTextEnvelope and writeTxFileTextEnvelopeCanonical for SignedTx
#1033
+191
−79