Always return enumerators when an each_* method is called without a block.
Fix `Rugged::Diff#write_patch`.
Return `GIT_OK` instead of `0`.
Return arrays instead of enumerators.