Makes any necessary but nonexistent parent directories for the given file.