Clean up existing OS handling a little
Clean up existing OS handling a little

* Avoid fall-through in switch statement.
* Improve error message in the case of incompatibility.
* Rename linux() function to posix().
* Sort cases alphabetically for improved readability.

LinusU/node-cachedir