Fix java.io.NotSerializableException caused by using anonymous inner
class in FileCallable operation. This problem is prevening the user from
setting custom dbpath.