Fix IDO mode issues when renaming current buffer's file