I can't reproduce this, could it be that you converted this
to dos line endings (which would make this:
[fm_options_list \
[list "file-edit?path=$path" "Edit"] \
[list "[fm_pageroot_relative_path $path]" "View"]]
in file-upload.tcl produce exactly this error...
you might try smashing this all onto one line and see if the problem goes away...