Creating a flexible photovoltaic fiber