Photoemission spectroscopy across the semiconductor-to-metal transition in FeSi