Checking for "$PWD/$file" causes root-relative paths to file. The file
command's -E option will force it to issue an error message and exit,
which is arguably a much better way of doing things.
Also updates cache_name function to use basename instead of full path.
Checking for "$PWD/$file" causes root-relative paths to file. The file command's -E option will force it to issue an error message and exit, which is arguably a much better way of doing things.
Also updates
cache_name
function to use basename instead of full path.Fixes #22.