Fix to last commit, where "quality" was a mandatory parameter to toBase64()