upload_chunk and get_chunk now take metadata instead of filename

upload_chunk and get_chunk were getting the filename as first
argument. This is not wanted as a driver may request informations
from the metadata in those handlers.