title: What's the best way to get a file's basename from an URI, in Vala?
body: <p>I can think of two ways: first, I could just manipulate the string itself; strip everything that precedes the last "/". Or, I could use the URI to get a File object, then call query_info().get_display_name().</p>
  
  <p>The first doesn't feel right, while the second results in two objects being created. What is the best practice to follow here?</p>