Fix bug with fs.remove. Removes unsupported wildcard.