image: Add support for Plan 9