Anything wrapped in pastry has the potential to get soggy.  Patting the salmon fillet dry to remove as much moisture from the surface as possible will help as does scoring the top of the pastry before baking.  This allows excess moisture to escape as it cooks.