MSS-67 extract code to prepare file for upload in a separate method, and use it in culturefeed_pages module.