Prevent creation of directories in files.

Added an error alert in the SIP arrange UI if someone tries to
create a directory within a file.