Fixes 'ptsrc_photom_uvis.ps' so does not crash when it adds file to 'flags' directory.