Fix #33 - support readonly keyfile