add try/catch around WriteDictionaryBinary due to a rare crash on IOS4.3