Explicitly cd into the profile directory before creating an extension proxy file