Fix for setting thread priority while the thread isn't running.
Change to allow fully-specified paths to be passed as posix NamedPipe paths, to be able to specify the temp file's location.