escape keystore path if needed