Use str.format in place of str.replace for the permission properties.

Signed-off-by: Tyler O'Meara <Tyler@TylerOMeara.com>