Fixing some minor issues.

- Bug: TypeError: Object #<Object> has no method 'error'
- Documentation error: Shouldn't pass `-e ".ext"`