Add keyfile generation to install