doc: Fix typo
doc: files.py expects "mode" to be a string
Merge pull request #2 from vain/doc-fixes

Doc fixes