fileEditCb and fileViewCb may crash because our pointers gets irritatingly wiped... so let's add a bandaid
Make us compile on OpenBSD 6.8