VE-646 Renaming a media item in the VE's Add Media dialog breaks the cart and the cart item

If the file is temporary, then setPage set's the page based on it's unique temporary file name rather that it's title.