<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:

def _get_conversion_outfile(self, convert_to=None):
        '''a helper function to return a conversion temporary output file
           based on kind of conversion

           Parameters
           ==========
           convert_to: a string either docker or singularity, if a different

        '''
        conversion = self._get_conversion_type(convert_to)
        prefix = "Singularity"
        if conversion == "docker":
            prefix = "Dockerfile"
        suffix = next(tempfile._get_candidate_names())
        return "%s.%s" %(prefix, suffix)