First limited success in writing to a xls file.

1. having unicode errors
2. needs refactoring a lot