Factored out the common `current_time` function.
Factored out the common `current_time` function.

Also expanded the comments on `get_cache_dir_for`.

Closes #1.

DanielKeep/cargo-script,durka/cargo-script,durka/cargo-script