React Write To Text File