git-svn: use sys* IO functions for reading rev_db