Make repyportability changedir to the location it is before dylinking in stuff.

This is required as dylink cannot access "outside" locations, i.e. any
other place than the dir it is located in. Note that I assume that
repyportability and dylink are in the same dir!
Ensure we change back to the original working dir after our little tango.