Electronic Mach-Zehnder interferometer as a tool to probe fractional statistics