Fix dulwich always receive SHA-1 in ASCII format