Fixed a crash bug when keep_backup() calls make_file() and the lastdir