convert short names like 'png' to mimetype names
fix png inlining