python/startup.py: don't save empty history

For whatever reason, editline on the Mac hates having an empty history
file.