Tweak [36578d1] (Add PS_SETFILE_OPENED..) by saving errno