protected call to open sidecar history file

This should fix #724.