add check for boto verion when using encryption