Mass corrections to the tau decay rate