clamp the hoses
I changed mine last year. I bought red plastic clamps at the auto parts store, they cost me like $3. I clamped both inlet and outlet hoses as close to the filter as possible and kept the filter horizontal while removing it. I didn't have any fuel spill out at all.. Took about 20 min..