#561 refactor | stream->copyFileToMediaFolder