Adding workaround for Issue #10

The largest U29 we write is now 0x00200000.  Anything larger is a Double.  https://github.com/timwhitlock/node-amf/issues/10.  This is not as efficient, but I believe it is more correct or less likely to cause issues when either the client or server is using a different AMF3 library.