Corrected crash with cores_to_use plaso

If the code cannot convert the cores_to_use to a string, it will set the cores to use to "1" and continue.