Makes getRawFile return a canonical path if possible.

When combining templates and options and the simple concatenation of the getRawFile() method, it tends to generate file paths like "/home/user/something/./SRM 596/" , these paths work fine but we can remove the extra "." and ".." in the path by using getCanonicalFile, too bad that requires some Exception handling.