return right path on select when fileRoot is set dynamically (fixing
issue 158)