Improve changing of dest path ext