Of course there's always one line of code I missed...

includes/modules/shipping/canadapost.php
line 18 - replace this:
var $moduleVersion = '1.6.1';

with this:
var $moduleVersion = '1.6.5 - 20a.20d';

I've submitted a corrected version to the forum!