Fix CLI export issues #94 and #95

Set sensible defaults so that CLI export function gives you a summary of the current week (rather than for now until the end of today, which has not even happened yet).

Wrap the StringIO so that CLI export works in non-UTF8 shell environments.