Ported fileattacment view to plone 4.3