le717 fix to invalid characters in filename

As pointed out in Issue #4
Fixed wrong variable name