Cracked it!
For future reference:
1. add this to mame.ini
pluginspath $HOME/plugins
plugins 1
plugin hiscore
noplugin
2. download the latest mame and copy the plugins folder to your $HOME directory
3. place all your old .hi files into the hiscore folder
4. job done