Added ShockCommonObject dump back into Ascii mode

Fixed WriteTGA to output to properly output to binary. w->wb in file mode