Resolve a binary path according to the PATH environment variable.
PATH
Write the serialized ‘value’ to a temp file