avoid warning from ROOT stating file is not writable