Fix putting FileIOPermissionAttribute

First set signature, then add security attributes as it is done in CreateConstructorBuilder method.

Fixes #507