diff --git a/lib/millstone.js b/lib/millstone.js
index <HASH>..<HASH> 100644
--- a/lib/millstone.js
+++ b/lib/millstone.js
@@ -174,8 +174,13 @@ module.exports = function resolve(options, callback) {
             var uri = url.parse(s);
 
             // URL, download.
-            if (uri.protocol) return (new get(s)).asString(function(err, data) {
-                resolved.Stylesheet[index] = {id:s, data:data};
+            if (uri.protocol) return (new get(s)).asBuffer(function(err, data) {
+                if (err) return next(err);
+
+                resolved.Stylesheet[index] = {
+                    id:path.basename(uri.pathname),
+                    data:data.toString()
+                };
                 next(err);
             });
 
@@ -183,7 +188,12 @@ module.exports = function resolve(options, callback) {
             if (uri.pathname[0] !== '/')
                 uri.pathname = path.join(base, uri.pathname);
             fs.readFile(uri.pathname, 'utf8', function(err, data) {
-                resolved.Stylesheet[index] = {id:s, data:data};
+                if (err) return next(err);
+
+                resolved.Stylesheet[index] = {
+                    id:s,
+                    data:data
+                };
                 next(err);
             });
         });
Fix localization of remote stylesheets.