Does `YAML.load(io)` close `io` after reading from it? Even if it does, we should make sure that happens:

~~~ruby
def load_identities
  ensure_file_exists
  File.open(filename, "r") do |io|
    YAML.load(io)
  end
end
~~~