Return the new metadata in Plug.move_file. Fix bug in LocalStorage.