Fix ExternalMethodHandler for file system support