Force UTF8 encoding and Unix new lines for serialized objects