fixed up the R wrapper to work with CVMFS