Incapsulate lfn/pfn conversion in try/excpept and return the error to th...

...e user