New helper function: removeExistingFile.
Use 'removeExistingFile' in 'allPackageSourceFiles'.
Improve an error message.
Improve an error message.