Added binary writing option, updated examples to match, still no HDR