make expanded files owned by RunAs

This also fixes two bugs where `os.Rename` failed due to moving across drives. @mpuncel  @petertseng