Automated identification of current sheets -- a new tool to study turbulence and intermittency in the solar wind