fix for apr_{uid,gid}_* error handling (r239592) fix for apr_file_ write flushing (r267192) - add backport for use of readdir64_r (r265032, r265681, r265684)