Migrate EncFile module to node-libcoin