afp: Don't free the handle if truncate fails

https://bugzilla.gnome.org/show_bug.cgi?id=573837