salt-minion: cleanup code and remove tempfiles

Signed-off-by: Gregory Meno <gregory.meno@inktank.com>