Expand directory path