Modify filesystem behavior on non-binary files regarding line-ending conversion
Also documented filesystem rules
Added coding style conventions, and refactored some code to match