fix(system): chmod before rename