Move pid file to right place.