Chdir into root dir to prevent access errors after uid change (refs #3780)
Merge pull request #4 from eguaj/1.3-A3780

Chdir into root dir to prevent access errors after uid change (closes #3780)