libostree: Move file creation APIs out of core, into checkout.c

Since this was the only user, let's not have generic code to go from
OSTree representation -> filesystem here.  It should live in checkout.
core: Delete unused ostree_create_temp_dir() API

Nothing was using it.  Poof.  Gone!
core: Delete unused prototype