addswap: python-version of fslswapdim