A version of http://fireworks.abeall.com/extensions/commands/Export/ with optimisations to compression