MDL-32341 calendar: get_file_by_hash() expects a hash