Making it work with the latest node.

1. The "base64" module is outdated and does not compile with the current version of Node (not verified). Slightly modified the code to use Node's native Buffer objects instead.

2. Methods for accessing the CSV module were outdated.