fix files_external storage id migration

fixes migration issue reported in https://github.com/owncloud/core/issues/11585#issuecomment-59258091
Hmmm what about cases where people have multiple S3 accounts with the same bucket name but different key/secret, and want to add them at the same time ? Possibly a corner case or unrelated to this PR ?