switch to love.filesystem functions instead of stdio