Use flexi-streams to decode the retrieve-file's return value so that we get the proper file.