BAC-753: migrateImagesToSwift.php

* count fails
* stream files to Swift
* avoid sending empty files (HTTP 411)