cachedpath.py: global name 'error' is not defined
The error is not global since we don't use "from os import *", so it
should be os.error.
[YOCTO #4489]
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>