Do not replace http:// with file:// when creating stylesheet link.

For Bloom we need to be able to add style sheet links that are referenced through localhost, not the file system.