fix misbehaving getfile function for digital object retreival
Merge pull request #64 from chrisprom/master

fix misbehaving getfile function for digital object retreival