Update machine.py

Forgot module references on last commit; fixes IMachine.export_to