Fixed crash issue

Fixed crash issue that occured when the user has no rights to write in
the downloads folder