Write servo position in external files