Use subprocess in stead of commands.
Fix unicode bug when updating cache.