add mimetype guesser to set mimetypes
updated for compatibility with assetic 1.1
use AzureFilesystem for mkdir