strip text read from VERSION, update VERSION