Add file encoding system property.

Fixes persister not handling unicode correctly.

Change-Id: I709ad4bd6ef1fcda3fb64977ccd4dcaaf140f7c6