Permission issues and your shell pipeline... test it via your cli under whatever shell is in effect. If you want the keys gone on reboot, put them on a ramdrive. Read up on swap memory and cold boot attacks first. You might be able to remove them right after tor start.