dummy file generator, using numpy or os.urandom, support multi threads or processes