Added mutex to protect calls to real-path