Cache metadata in /var/cache instead of /tmp

/tmp is unsafe if a user were to somehow be able to create the file
before it was cached there they can issue commands to cfn-init that
would likely elevate their permissions.

Fixes bug #1164756

Change-Id: I54e1e1be178274cb0a2b50f54e859e004e1f1c78