jld support for empty types

I don't understand what was this error was trying to avoid, but all the tests pass if I remove it.  Then JLD works with empty types.