Update docs for implicit current directory option

Commit 7508cef76581b603fa1d8a143c23f58d25f50983 made the <path> positional
parameter optional. This changes the readme/docstrings to reflect the new form.
Fix bug of modifying list while iterating over it

What is this, amateur hour?