Convert input and output filename to strings.