ttlogmerge: better handle error lines in the log
beeminder.pl: Regenerate cache if cache file empty (facilitates syncing with Unison across multiple machines)