Make `applyCwd()` return `null` when passed `null` (#32)
The method `copy()` now accepts references to a file as first parameter (#32)
Added `validCwd()` to retrieve a value for the current working directory that's always valid (#32)