Verify source sorting
add Source#sort_key to keep lock file order
Friendly error on ENOSPC

fixes #3153
Version 1.7.2 with changelog