Expand path in case relative path is given.