Added loopback filesystem support - pull request from matschaffer