fixed escape problem in file renderer