fix crash on first startup if save directory did not exist