In case of a literal, use the constant value initializer

related to #618
Unignored binary writer test