Improved migration script.

  * Creates different output files automatically per account/GT
    imported and in a different folder (timestamp).

  * Checks for the CalledProcessError exception.