Fixed general PS search.

Turns out issue was not a Tempfile or permissions issue. Command to output file contents was incorrect.

Reviewer: @Sovietaced