Get the current bootstrap.py script content

def _get_bootstrap_content(directory='.'):
    '''
    Get the current bootstrap.py script content
    '''
    try:
        with salt.utils.files.fopen(os.path.join(
                                os.path.abspath(directory),
                                'bootstrap.py')) as fic:
            oldcontent = salt.utils.stringutils.to_unicode(
                fic.read()
            )
    except (OSError, IOError):
        oldcontent = ''
    return oldcontent