update serialization to work with C# BinaryWriter; AnimationClip loadFromFile