Cold dust in nearby galaxies: implications for observing the high-redshift universe