Fix VERSION reading