Fixed file path bug when no PNG optimization could be applied (#9)