Call the parent initialize()

otherwise saveable features don't work.
Refactor writeFile and readFile to use isBinary better
Merge pull request #113 from Connexions/binaryfile-fixes

Binaryfile fixes