No need to protect against nativefs errors here, because we're not going to be running driver.love on iOS.
FBN32ZM3YZ2XVKZLUNYV4TGXC5BTVLN5WHM4QEOSOQ4727X4BIVAC
XS5VNBHHKY23PBI3RFLJWIJTJNOYY3JAUGX42NAGZSAOFR6RHETAC
2NQZJUPTOHIMDTSB2V53KQ5HLKKUUHQEKVB4XEHVFXOSI7UUGCJAC
LRDM35CEK3OHXOTB7TEFJRL7P6PQWO5ZG3F2BVA7DIDFHBPJQ7KAC
EZHO4TSWIYYUE73S6XQWIEF3HA3H7MKCNJOT27NTWTVSPVS2SL5QC
App.remove(App.source_dir..Live.filename[definition_name])
nativefs.remove(App.source_dir..Live.filename[definition_name])
local status, err = App.write_file(App.source_dir..filename, buf)
local status, err = nativefs.write(App.source_dir..filename, buf)
-- not possible; perhaps it's a .love file -- try to write to save dir
-- not possible; perhaps it's a .love file
-- try to write to save dir
-- fall back on save dir