WP-1224: Fix media file metadata retrieving
Merge pull request #51 from gguowei/wp-1224

WP-1224: Fix media file metadata retrieving