update utils::imagefile_parsename for relative paths