Replaced the `cp` and `mv` occurrences with `{copy,move}file`. Fixes #76.