added debugging around filewrite
added debugging around filewrite
Merge pull request #28 from avalanchedotca/iosBug

Ios bug