Bugfix: fixed a bug with TFS module that it might return bad values.
Bugfix: fixed a bug with TFS module that it might corrupt large files.