Fixed bug that caused an error when component input files were rendered as text.