Makes getRawFile return a canonical path if possible.
simplification suggested by shivawu
Merge pull request #60 from vexorian/rawfile

Makes getRawFile return a canonical path if possible.