Change behavior of get_by_format, which is required by JSON-handling
code to return content. Now get_by_format returns three items: result,
content, local_size. Fixed places where get_by_format is called to
take this into account.
In addition, encode output as UTF-8 to avoid encoding errors w/ code
files that include non-ascii characters.
Change behavior of get_by_format, which is required by JSON-handling code to return content. Now get_by_format returns three items: result, content, local_size. Fixed places where get_by_format is called to take this into account.
In addition, encode output as UTF-8 to avoid encoding errors w/ code files that include non-ascii characters.