Added expansion parameter to 'network_to_gpml', added content_encoding parameter to converter functions