Fix stage file proxy for stage and stage2.