[PATCH 16/28] moveconfig: Use an encoding with open()