When running a sbt script, this change lets the user on UNIX and Windows platforms to use native file extensions like none/.sh or .bat/.cmd. The code copies the file to the sbt boot/hash/src_managed directory with a .scala extension.