function ModifyPifFile(const Filename: String; const CloseOnExit: Boolean): Boolean;
Changes the "Close on exit" setting of a .pif file. Returns True if it was able to make the change.