Revert "Change creation of proxy file."

This reverts commit e883b74c2188ebbc524e366abe10da1baf3483b2.