Fix sdss_to_megacam