makeReadWriteDirectory
Checks if the specified path is a directory that can be read from and written into. If the directory does not exist, then this method will try to create a readable/writable directory.
Return
reference to the validated path.
Parameters
path
the path to check/create.
Throws
if the download path is invalid or if the download path does not have read or write permissions.