Binaryfile fixes

Call the parent class' initialize method so that saveable features work (specifically, isDirty), and make it possible to write files in binary mode.