disassembler fixes

1. Fixes disassembler failing to write disassembly to file
2. Corrects Operand.ToString() treating every value as a literal