Fix kill-buffer when there are no opened files