fix CHICKEN->C conversion of negative enum members on 32-bit platforms
avoid prematurely invalidating OIDs returned by reference-target
explicitly set umask for file creation tests
release repository-ref fix for 32-bit systems