Fix a couple of typos in the File module
Merge pull request #1976 from knewter/feature/file_module_doc_tweaks

Fix a couple of typos in the File module
Properly handle tuples in typespecs
Improve typespec docs