Fix #4: handle buffers not visiting files more gracefully