fixed bash script snapshot.sh to work also on old bash delivered with msysgit