Move 'docker export' to the engine API