Convert ValidTTL to sh

Removes one grep call, and is faster this way.
Merge branch 'valid_ttl' of https://github.com/Alexqw/zfSnap into Alexqw-valid_ttl