Adapt Rocks approach to determining the modulefile VERSION value.