Synthetic line and continuum observations of simulated turbulent clouds: the apparent widths of filaments