Added check for file type before processing platforms in icons_and_splashscreens hook

This is in reference to this issue:
https://github.com/diegonetto/generator-ionic/issues/87