Export chdir_p
Merge pull request #65 from Tarrasch/master

Export chdir_p