Fixed invalid file encoding.
Member field and values get templated.
Bug with binary values is fixed.