Create .history file if it does not exist instead of throwing exception.