DEV: Pass the for_export flag to the before_upload_creation event (PR #10599)

Tested here: https://github.com/discourse/discourse-antivirus/pull/2

GitHub