Fix NULL pointer crash in PSTKD_Ok().

SFDCreateUndoForLookup() returns NULL if an error occurs when
reading the file to a string.  We should not call GFileWriteAll() in
that case.
Merge pull request #1405 from blipvert/fixes/39

Fix NULL pointer crash in PSTKD_Ok().