Merge pull request #112 from ccd0/master

revert back to %A which was at least working for GIF
Merge pull request #113 from ccd0/master

oops, fix issue when no file uploaded
improve metadata reading code