fix an issue of creating local path when file is not under same local root; add to Jpcraw.java the function to capture error stream.