HITL: Refactor device power script to just power cycle

This works around the problem that the device file disappears when the port is powered off.