vcs-svn: add binary-safe read function