Added backwards compatability with strings

get_attachment_download_url formerly allowed for strings. I just
upgraded from 3.0.11 and noticed the difference.

Here was a change the caused the api to expect an int:

SHA: a4ae8de4cd2f01479499954b10ba3d2ef616fd9e