Fixed issue where "Keep permissions" setting was being ignored when importing files in Database Management

The "Keep permissions" setting in *Administration View > Database Management > Import File from Server* was being ignored. When "Keep permissions" is checked, the permission set on existing resources is not supposed to be modified. However, currently, whether or not the setting is checked, the permission set is being modified. This patch addresses that issue.