Handle when :file.get_cwd returns a binary