nvagent: print an error if the nvagent.conf file can't be created