Small efficiency tweak to multipart

This was suggested by Trevor: https://github.com/paypal/kraken-js/pull/54/files#r9081275