Handle when :file.get_cwd returns a binary
Another attempt at cwd handling