split fix virtual path into n2 and s3 to support cloudfront prefixes use...

Split fix virtual path into n2 and s3 to support cloudfront prefixes used in uploadFolders configuration (i.e. urlPrefix="static.mydomain.com"). This was made in collaboration with Cristian Libardo.