Fix phing task set-permissions during build