[COMMONS] fix encoding issue on write operations

Fixes https://github.com/wajam/strike/pull/49