core: fix z_file_request fetch to binaries for files streamed from s3

(cherry picked from commit c4a13a59ff2a517e0a40e83bb686f71e3e4ffbf4)