Allow passing of a full options object to createFile methods
Updating readme
Revision of file mode handling
Updating tests
Updating readme