Cleared mpdevfile before we start to write to it.