Fixed empty version file bug.