Update code for PyTables 3

- [x] Run pt2to3 on all python files: `for f in $(find . -name '*.py'); do pt2to3 -i $f; done;`
- [ ] Update requirements
- [ ] Check if everything still works..

(Replaces #22)