Fix upload plugin file opening mode (text->binary)
Simplify backward-compat session loader implem.
Update TODO list