Fixed gradle localTest bug on Windows.

This is a fix for issue https://github.com/open-keychain/open-keychain/issues/528