Handle old profile file formats.