Use `Base.strict_decode64` instead of `Base.decode64` just as we do in encoding;

Also reduce extra object allocation by creating string directly instead of join on Array
Merge pull request #10635 from vipulnsward/change_to_strict

Use `Base.strict_decode64` instead of `Base.decode64`