image: Handle systems that don't support O_PATH when updating timestamp

Older kernel can't handle O_PATH in open() so this will
fail on dirs and symlinks. For dirs wa can fallback to
the normal Utimes, but for symlinks there is not much to do
but ignore their timestamps.
Image: unmount device before removing it on failures

If we don't do this the remove will fail due to EBUSY