Fixed issue with forceBase64 option not working

See issue #339