Extra checks in DesktopFileTransferEventHandler.

Added canUpload checks to onRequestSimpleUpload and onRequestUploadFromUrl.