engine: Add create() method which creates an engine from a file

Preparation for multiple engines, although it's always the ptrace
engine for now.