Fix #41. If no file extension found, avoid script asset creation.