On Windows files paths include backslashes, these require escaping appropriately for the JSON based output from the ps_thread_stack stored function.