Photosensitive nanofibers for data recording and erasing