Improved migration script.

  * Creates different output files automatically per account/GT
    imported and in a different folder (timestamp).

  * Checks for the CalledProcessError exception.
Merge pull request #2903 from ojeda/migrate-script

DB -- Improved migration script (for 71X)