Fix bug where even note org buffers might try to be saved.

- I was incorrectly checking that the *current* buffer had a file, not
  that the buffer in question did.