if all loop devices are in use, create a new one like Android does (closes #47)

patch from 9omorra