MINOR: simplify operation use via covariance.

When FooOperation override execute, it now returns FooOperationResult rather
than OperationResult, leveraging the covariance possibilities introduced in
Java 5.
MINOR: fix a bug in database xml reading when the file size was read as an int rather than a long.