Added createFilesDir() implementation

Function creates a "files" subdirectory that will store user's files in
ball.

This is not yet used by Baller. It needs to be carefully integrated and
tested, as many functions and scripts assume the previous ball format
where there is a "files" metadata file.
Replaced all writeFile calls with writeFileSync