Export: correct type indications for smaller file versions

Squashed commit of the following:

commit f9b370ef8e78c97ec3a5025b30dd1ca8928dd607
Author: Michał Podlecki <m.podlecki@op.pl>
Date:   Thu Oct 9 11:37:18 2014 +0200