Bugfix + datatype correction

- Corrected for KeyError when writing xls(x) files if one file misses a
column compared to the others
- Data is now written to xls(x) files in correct datatype, instead of
always as string