also fix -*-to-border commands to be able to write new format border files