mktx support for output to script (e.g. BIP11)

Usage:
sx mktx FILENAME [-i TXHASH:INDEX]... [-o ADDRESS:VALUE] [-o HEXSCRIPT:VALUE]

To create BIP11 transaction like:
http://blockexplorer.com/rawtx/c0efb78ddb26ed9f6fcdd8fca45a1cbe98e48c43425ebda5d14939dbd6453225

Use:
$ sx mktx txfile.tx \
    -i fecd0cc1467808f66b43f07aff26a58eed2e4f2158fed68a68f36ffe5a2def3f:0 \
    -o 1NmYmaVb2HZGUabzBKadNJQN92kwCnWWNR:26000 \
    -o 1HRE7U9XNPD8kJBCwm5Q1VAepz25GBXnVk:6000 \
    -o 1EXoDusjGwvnjZUyKkxZ4UHEf77z6A5S4P:6000 \
    -o `sx rawscript 1 [ 021a992b6c1c3fb274a6402ec84e3cdd8154049efdf49778a133dfabd9f7355caf ] [ 0201000000000000000200
Added input fecd0cc1467808f66b43f07aff26a58eed2e4f2158fed68a68f36ffe5a2def3f:0
Added output sending 26000 Satoshis to 1NmYmaVb2HZGUabzBKadNJQN92kwCnWWNR.
Added output sending 6000 Satoshis to 1HRE7U9XNPD8kJBCwm5Q1VAepz25GBXnVk.
Added output sending 6000 Satoshis to 1EXoDusjGwvnjZUyKkxZ4UHEf77z6A5S4P.
[W] The following output script contains non standard tx
Added output sending 12000 Satoshis to 1 [ 021a992b6c1c3fb274a6402ec84e3cdd8154049efdf49778a133dfabd9f7355caf ] [ 0201

To verify:
$ sx showtx txfile.tx
hash: 9eaa610ae7b5ef841f3171823f9c33f25c51c4a8005a388222dc2d07f0521f2e
version: 1
locktime: 0
Input:
  previous output: fecd0cc1467808f66b43f07aff26a58eed2e4f2158fed68a68f36ffe5a2def3f:0
  script:
  sequence: 4294967295
Output:
  value: 26000
  script: dup hash160 [ eec7767d609edb03597aa64783482da6671e4f32 ] equalverify checksig
  address: 1NmYmaVb2HZGUabzBKadNJQN92kwCnWWNR
Output:
  value: 6000
  script: dup hash160 [ b416f0c908950c987b1188c84bbc48d6218459f9 ] equalverify checksig
  address: 1HRE7U9XNPD8kJBCwm5Q1VAepz25GBXnVk
Output:
  value: 6000
  script: dup hash160 [ 946cb2e08075bcbaf157e47bcb67eb2b2339d242 ] equalverify checksig
  address: 1EXoDusjGwvnjZUyKkxZ4UHEf77z6A5S4P
Output:
  value: 12000
  script: 1 [ 021a992b6c1c3fb274a6402ec84e3cdd8154049efdf49778a133dfabd9f7355caf ] [ 02010000000000000002000000003b9ac
$