Add two new routines to read a sextractor catalog and to replace the extension of a file