Seperate directories for heterogeneous cpus

As discussed in http://sourceforge.net/p/pocl/mailman/message/32972338/
devices will maintain different cache directories based on long name(which is based on cpuinfo)
The function name is too vague. 'cleanup' is too vague. This is supposed to convert the string to a tidy directory/filename, right? Perhaps the name should reflect that.