Added image dimensions to the file object if available.

Closes #134