Ensure unused bits being zero in writeVarint64, set all bits on write, fixes #15