Write priority even if it is zero
Merge pull request #22 from elastic-coders/fix_priority_zero_format

Write priority even if it is zero