* rename.c (smart_rename): Fix test of whether file exists.