Spreadsheet to form widget fails to open stream after updating file