Fixed a bug: OSError was raised when the script could not enter to a folder