IIRC you cannot override that behavior in a device interface plugin, the view_device_book() function in actions/view.py is called directly with the path supplied by the driver.
You could probably stick the extension on the paths returned by the driver and strip the extension where needed in the driver.
|