Fixing binary html file