Switch from $RANDOM to date nanos for /bin/sh