Explicitly catch potential crash on token file save