Fix bug with render_file path